//
//  XOCategorySingleTableViewCell.m
//  didigo
//
//  Created by 海丰丛 on 2020/3/27.
//  Copyright © 2020 lifayu. All rights reserved.
//

#import "XOCategorySingleTableViewCell.h"
#import "EJSCategoryModel.h"

@implementation XOCategorySingleTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)reloadDataWithCategory:(EJSCategoryModel *)categoryModel {
    [self.iconView setImageWithUrl:categoryModel.categoryCover];
    self.nameLabel.text = categoryModel.categoryName;
}

@end
